package com.kdgc.power.business.mapper;

import com.kdgc.power.business.entity.ComDict;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SpringData;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ComDictMapper extends BaseMapper<ComDict> {
    @SpringData
    List<ComDict> findByCatCodeAndIsUse(String catCode, String isUse);

    List<Map<String, Object>> getByCatCode(String catCode);
}